PROJECT(gsm_application)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

SET(SRC_LIST gsmMsgHandle.cc network_frame.cc gsmSnifferManager.cc)

#INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/../oam/nano_db/include/libxml2)

IF(NOT EXISTS ${EXECUTABLE_OUTPUT_PATH})
    EXEC_PROGRAM(mkdir ${PROJECT_SOURCE_DIR} ARGS ${EXECUTABLE_OUTPUT_PATH})
ENDIF()

EXEC_PROGRAM(cp ${PROJECT_SOURCE_DIR} ARGS ${PROJECT_SOURCE_DIR}/gsmcfg.xml ${EXECUTABLE_OUTPUT_PATH})

ADD_LIBRARY(gsm STATIC ${SRC_LIST})

